server:main.o Hash.o Token.o
	g++ $^ -o $@ -lSimpleAmqpClient -fno-rtti -lalibabacloud-oss-cpp-sdk -lcurl -lwfrest -lworkflow -lpthread -lssl -lcrypto -lcrypt
%.o:%.cc
	g++ -c $^ -o $@ -g
test:test.o Hash.o Token.o
	g++ $^ -o $@ -lwfrest -lworkflow -lpthread -lssl -lcrypto
%.o:%.cc
	g++ -c $^ -o $@ -g
oss:aliyunoss.cc
	g++  $^ -o $@  -g -fno-rtti -lalibabacloud-oss-cpp-sdk -lcurl -lcrypto -lpthread
mq:mq.cc
	g++ $^ -o $@ -lSimpleAmqpClient
mq_consumer:mq_consumer.cc
	g++ $^ -o $@ -lSimpleAmqpClient
backup:backup.cc
	g++ $^ -o $@ -lSimpleAmqpClient -fno-rtti -lalibabacloud-oss-cpp-sdk -lcurl -lpthread -lssl -lcrypto -lcrypt